deployConstantContract
Request to the specified node for the energy cost of deploying a contract.
Usage
tronWeb.transactionBuilder.deployConstantContract(options);
Parameters
Argument | Description | Type |
---|---|---|
options | options releated to contract deploying, such as ownerAddress, input(bytecode + deploy data), tokenId, tokenValue, callValue | object |
Returns
Object
Example
> tronWeb.transactionBuilder.deployConstantContract({
ownerAddress: 'ownerAddress',
input: '8839afd8....',
});